package com.shop.service;

import com.shop.dao.TeacherDao;
import com.shop.model.Teacher;

public class TeacherService implements ITeacherService{
    TeacherDao teacherDao = new TeacherDao();
    public Teacher login(String teacherId, String password){
        return teacherDao.login(teacherId,password);
    }
    public Teacher search(String teacherId){
        return teacherDao.search(teacherId);
    }
}
